#include<stdio.h>
#include<sys/types.h>
#include<unistd.h>
#include<string.h>
#include<fcntl.h>
#include<stdlib.h>

int main()
{   
    
    //创建进程
    pid_t pid = fork();
    char *argv[] = {"/home/wutobu/test/project3/system_test", "zs", NULL};
    char *envp[] = {NULL};
    if (pid==-1)
    {
        perror("fork");
        return -1;
    }else if (pid==0)
    {   
        /**
         * 
         * int execve(const char *__path, char *const __argv[], char *const __envp[])
         */
        execve(argv[0], argv, envp);
    }else{
        printf("我现在在等其他的学员\n");
    }
    
    
}
